home *** CD-ROM | disk | FTP | other *** search
/ Amiga CD32 Gamer 16 / CD32 Gamer - 1995 - Issue 16.iso / pd / tanx / ins.doc < prev    next >
Text File  |  1995-09-07  |  17KB  |  625 lines

  1. AMIGA TANX
  2. ~~~~~~~~~~~~
  3. Produced by Gary Roberts.
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. Version 1.0 
  6. ~~~~~~~~~~~~~
  7. Written for Amiga Computing. 1991
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.                     
  10.  
  11.  
  12. Tanks! a Short Overview.
  13. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  14.  
  15. Do  you  remember  that great game called
  16. "TANKS   !"  which  appeared  on  several
  17. machines    many    years    ago.?    You
  18. don't.?,where  have  you  been  all  this
  19. time.?
  20.  Many  an hour was had by kids and adults
  21. alike playing this simple game at college
  22. and at work.  Its one of those games, you
  23. either love it or hate it.
  24.  
  25.  I am afraid I don't know who created the
  26. original Tanks,so I can not give them any
  27. credit.   (  If somebody knows who it was
  28. then  please  contact me, I can then give
  29. them credit.!  )
  30.  
  31.  Anyway  Tanks  is a 2 player game only (
  32. Although  I  have  known a few people who
  33. play  in  on their own!  ),each player is
  34. given    a   tank   to   control   on   a
  35. landscape,the idea is to take it in turns
  36. to  shoot  at  your opponent.  ( See.?  I
  37. said  it  was simple ).  You have control
  38. over  the  angle  of the tanks barrel and
  39. the velocity behind the shot.
  40.  The  winner  is  the person who scores a
  41. direct  hit  on  their opponents tank.  (
  42. Cooo, now there is a surprise.)
  43.  Thats the basic idea behind the original
  44. Tanks game, now here is my version.
  45.  
  46.  
  47. Amiga Tanx.
  48. ~~~~~~~~~~~~~
  49.  Amiga Tanx follows the same lines as the
  50. original   game,but   with   just  a  few
  51. variations.
  52.  
  53.     a) Randomly generated Landscapes.
  54.     b) Two main types of Landscapes.
  55.     c) Variable gravity.
  56.     d) Variable wind strength and direction.
  57.     e) Targets to hit.
  58.     f) Objects which affect the flight of the tanks shot.
  59.     g) Full Stereo Sound.
  60.     h) 50 frames a second screen update.
  61.     i) Parallax scrolled play area.
  62.     j) Over 100 colours on screen. ( Honest ! )
  63.     
  64. I could go on ,but I won't.
  65.  
  66.  
  67. Starting Tanx
  68. ~~~~~~~~~~~~~~~
  69.  Pretty straight forward this bit.
  70.  The  Tanx  game  takes up around 400k of
  71. chip  ram,so if you don't have 1 meg chip
  72. ram  or  own an amiga A3000,you will have
  73. to  close  all  windows and make sure you
  74. have at least 400k of chip ram free.
  75.  
  76.  NOTE:    if   you   only   have  a  512k
  77. amiga,then   tanx   will   not  run  from
  78. Workbench.   You  will  have  to boot the
  79. disk and run Tanx from the CLI
  80.  
  81.  Tanx  can  only  be run from the CLI,but
  82. due a to a lovely program
  83.  
  84. called   ICONX,   you  can  run  it  from
  85. Workbench.
  86.  To  run  Amiga  Tanx,open  up  the  Tanx
  87. window and double click on the Tanx Icon.
  88. A  CLI  window  will appear and Tanx will
  89. proceed to run.
  90.  If  any errors occur then a nice message
  91. will appear on screen.
  92.  
  93.  Tanx can be run from the CLI alone.To do
  94. this  you must make the "Tanx!" directory
  95. the current directory before running.
  96.  
  97.  Eg.
  98.       CD    df0:Tanx!     -   To   change
  99. directory.
  100.  
  101. If  Tanx  cannot  find  or load the file
  102. "Tanx-Title.Dat" then it will not run.
  103. It  looks  for  "Tanx-Title.Dat"  in the
  104. current directory.
  105.  
  106. If you wish to transfer the Tanx Game to
  107. Hard  disk  or  some other media,then you
  108. require  the  following  files  from  the
  109. Tanx!  directory.
  110.  
  111. Tanx  (  And the associated icon files if
  112. you wish )
  113.  
  114. Tanx-Title.Dat
  115.  
  116.  
  117. "Tanx"    is   the   main   program,while
  118. "Tanx-Title.Dat"  is the title image.  As
  119. long  as  both  files  are  in  the  same
  120. directory,  Tanx  will  run.   So you can
  121. transfer  the  game  to Hard disk or some
  122. other media.
  123.  
  124.  
  125.                        Playing The Game
  126.                       ~~~~~~~~~~~~~~~~~~
  127.  
  128. When  the  Tanx title appears, press the
  129. left  mouse  button,  after a few seconds
  130. the Main Options Screen will appear.
  131.  
  132. From this screen you can change many game
  133. parameters.    The   parameters  will  be
  134. explained later on.
  135.  
  136. To  Play  a  game  simply  move the mouse
  137. pointer   and  click  on  the  PLAY  Icon
  138. situated in the top right of the screen.
  139.  
  140. After a few seconds you will be shown the
  141. Landscape on which the battle is about to
  142. take  place.   ( The Landscape is about 2
  143. screens wide.  )
  144.  
  145. A  control panel,then drops down from the
  146. top of the screen.  From here the current
  147. player   can  control  his/her  tank  and
  148. scroll around the landscape.
  149.  
  150. The current Players name is displayed and
  151. their  tank  is  brought  into view.  The
  152. following  Icons  are  displayed  in  the
  153. panel.
  154.  
  155. Velocity  -  Represented  by  bar  bells.
  156. (What else?  )
  157.  
  158. Clicking  on  the  arrows underneath will
  159. alter  the  velocity of the players shot.
  160. If  you  hold  the left mouse button down
  161. then  the  velocity will rise slowly,hold
  162. down  both  left  and right mouse buttons
  163. and   the   velocity  will  rise  quickly
  164. Velocity can be in the range of 0 to 199.
  165.  
  166. Angle - Represented by a 90 degree angle.
  167.  
  168. Clicking  on  the  arrows underneath will
  169. alter  the angle of the tanks gun barrel.
  170. Click  with the left button alone and the
  171. value  will  change slowly.Hold down both
  172. mouse buttons and things will wizz along.
  173. The  angles  are  in degrees.  Values are
  174. between  -90 and 150 Negative angles will
  175. fire the bullets downwards.  + 90 degrees
  176. will fire the bullets straight up.
  177.     
  178. Fire-  Represented  by  a rocket on a red
  179. button.
  180.  
  181. If  you are happy with the angle,velocity
  182. and  tanks position,then click on this to
  183. fire your bullet!
  184.         
  185. Quit-Represented by a white flag.
  186.  
  187. Clicking on this during any point in play
  188. will  quit the current game and return to
  189. the options screen.
  190.  
  191. Scroll   Land-  Represented  by  a  small
  192. landscape and tank.
  193.  
  194. Click  on  the  arrows  will  scroll  the
  195. Landscape  Left  and  right,  and  up and
  196. down.   this  will enable you to pick out
  197. your target ( The other players tank ).
  198.  
  199. Pressing   the  left  mouse  button  will
  200. scroll  slowly.   Hold  down both buttons
  201. and it will wizz along.
  202.  
  203. Move   Tank-  Represented  by  a  Tank  (
  204. Suprising huh.?  )
  205.   
  206. Clicking  on  the  arrows  below the icon
  207. will move your tank.
  208.  
  209. Tanks  can only move on their flat plain.
  210. They  can not go up or down hills or ride
  211. over craters.
  212.  
  213. When  you fire the bullets, they will fly
  214. given   your  angle  and  velocity.   The
  215. bullets are accurately calculated using a
  216. projectile forumla,so they will act as if
  217. in real life.
  218.  
  219. Each  player  takes  it in turn to fire a
  220. shot.   the  first  player  to  hit their
  221. opponents tank wins.!
  222.  
  223. After  a  game  has  been  won.  A status
  224. screen  is  displayed.   A  tally  of the
  225. games won by each player is displayed.
  226.  
  227. From  the  Status  screen  you can play
  228. another  game with the current parameters
  229. or  you  may  exit  to  the  Main Options
  230. screen  to  alter  the parameters.  - See
  231. Next section.
  232.  
  233. The  current  tally  of  the games won by
  234. each  player  is  only  cleared  when you
  235. change  the  players  name  from the main
  236. options screen.  - See next section.
  237.  
  238.  
  239. Game Parameters.
  240. ~~~~~~~~~~~~~~~~~~
  241. As  you  may  have  seen  from  the  Main
  242. Options   screen   there   are   lots  of
  243. parameters that you can change.
  244.  
  245. A) Wind Strength.
  246. B) Wind Direction.
  247. C) Gravity Strength.
  248. D) Landscape generation.
  249. E) Objects.
  250. F) Sound.
  251.  
  252. Also  on the Main options screen you will
  253. find the following Icons.
  254.  
  255. ABOUT  -  The current version of the game
  256. and who wrote it!
  257.  
  258. QUIT - Quit the game.
  259.  
  260. PLAYER1 -
  261.  
  262. PLAYER2 - The two player icons at the top
  263. left  of  the  main options screen enable
  264. you  to  alter  the  players names.Simply
  265. click on the icon under the players name.
  266. You  may  type  in  3  letters  from  the
  267. keyboard  or  move  your mouse left/right
  268. and click to leave a character.
  269.  
  270. PLAY  -  Play  a  game  with the selected
  271. parameters.
  272.   
  273. I will run through each of the parameters
  274. and explain what they all do!  To operate
  275. any  of the options,simply move the mouse
  276. pointer  over the switches ( little boxes
  277. with  black  or  red lights in them ) and
  278. press the left mouse button.
  279.  
  280.  
  281. A) Wind Strength.
  282. ~~~~~~~~~~~~~~~~~~~
  283. Pretty   obvious   this   one.   You  can
  284. introduce  wind  affect  into  the  game.
  285. Wind  affects  the  flight of the bullets
  286. and  makes  the  game  a little harder to
  287. play.  The wind strength and direction is
  288. displayed  during the game, at the bottom
  289. of  the  screen.   The  flag  denotes the
  290. direction,whilst  the  meter and number (
  291. from 0-9 ) denotes the strength.
  292.  
  293. The  options  under  Wind Strength are as
  294. follows.
  295.  
  296. 1)  None  - No wind affect at all.  The
  297. default option.
  298.  
  299. 2)  Light  -  Light wind.A small breeze
  300. blows  and  has  a  small  affect  on the
  301. bullets flight.
  302.  
  303. 3) Medium - A brisk wind blows across the
  304. landscape.   This wind noticeably affects
  305. the bullets flight.
  306.    
  307. 4)  Strong  -  Definitely  gale force
  308. conditions  now.  The wind is very strong
  309. and the bullets are very much affected by
  310. the wind.
  311.    
  312. 5)  Random  -  The  wind  strength is
  313. randomly  chosen  during  the  game.After
  314. each  players  shot  the  wind can change
  315. strength with this option.
  316.  
  317.    
  318. NOTE:   With  options  2-4  the  wind
  319. strength  is chosen at the beginning of a
  320. game  and  does NOT change throughout the
  321. game.
  322.  
  323. With  option  5.   The  wind  strength is
  324. randomly chosen, and DOES change during a
  325. game.So   watch  the  wind  meter  before
  326. taking a shot.!!!
  327.  
  328.           
  329. B) Wind Direction
  330. ~~~~~~~~~~~~~~~~~~~
  331. This  option  rightly alters how the wind
  332. direction is generated.
  333.  
  334. 1) Same.  - The default option.  The wind
  335. direction is chosen randomly at the start
  336. of  each  game and does not change during
  337. that game.
  338.   
  339. 2)  Random  -  The  wind  direction is
  340. chosen  randomly  at  the  start  of each
  341. game,but  it can change randomly during a
  342. game so watch out!!!
  343.  
  344.  
  345.  
  346. C) Gravity Strength
  347. ~~~~~~~~~~~~~~~~~~~~~    
  348.  
  349. No  prizes  for  guessing what this does.
  350. Different   gravity   strengths   require
  351. different tactics.
  352.  
  353. All  gravity  is  chosen  at the start of
  354. each  game,and does NOT change during the
  355. game.
  356.    
  357. 1)  Light  -  Light Gravity,makes the
  358. bullets feel very light.  When fired they
  359. will tend to float along.
  360.  
  361.      
  362. 2)  Medium  -  This  is the default
  363. option  and  is  equivalent to the earths
  364. gravity.
  365.   
  366. 3)  Strong  -  The  bullets  feel very
  367. heavy  and  drop like an elephant wearing
  368. several lead anvils as ear rings.
  369.  
  370. 4)  Random  -  The  Gravity  is  randomly
  371. chosen from the above.
  372.  
  373.  
  374. D) Landscape Generation.
  375. ~~~~~~~~~~~~~~~~~~~~~~~~~~~      
  376. There   are   two  types  of  landscapes.
  377. Mountains  and  Foothills.  For each type
  378. the landscape is randomly generated,so no
  379. two landscapes will be the same.
  380.  
  381. During  landscape  and  object creation,a
  382. small message appears on screen informing
  383. you.  - See the Known Bugs Section.!!!
  384.  
  385. 1)  Mountains- Steep mountains with large
  386. valleys.   This makes hitting tanks quite
  387. tricky.  Lots of cover.
  388.  
  389. 2) Foot Hills- Shallow valleys with small
  390. hills.   Tanks are easily spotted and not
  391. to difficult to get at.
  392.      
  393. 3)    Random   A   Totally   random
  394. landscape   is  generated.   Watch  out!!
  395. some bizarre shapes can be generated with
  396. this option.
  397.  
  398.  
  399.    
  400. E) Objects.
  401. ~~~~~~~~~~~~~   
  402.  
  403. These  are not for the faint hearted.!  4
  404. types  of  objects  can  be placed on the
  405. landscape.
  406.  
  407. All  the  objects  are placed randomly on
  408. the landscape.
  409.  
  410. NOTE:  See the Known Bugs section !!!
  411.        
  412. 1)   Targets.   -  These  can  be
  413. destroyed,if  you  hit  a target you will
  414. get a free shot the next round.
  415.                
  416. 2)  Fans  - These can not
  417. be  destroyed.  These blow ( What else do
  418. fans  do.?   ) very hard in the direction
  419. they face.  If the bullets fly into range
  420. of  one of these expect strange results.!
  421. A  fans wind strength is usually stronger
  422. than  a  strong wind.  A fans strength is
  423. randomly chosen.
  424.  
  425. 3)  Pushers  - These strange objects look
  426. like  pulsating  red pyramids.  ( With an
  427. arrow  going  up  and  down)  When ever a
  428. bullet  flies over them it will be pushed
  429. upwards very hard.
  430.       
  431. 4)  Pullers  -  These  look like a
  432. pair  of jaws opening and closing.  These
  433. have  the opposite affect of the Pushers.
  434. When ever bullets fly over them they will
  435. be pulled down very sharply.
  436.  
  437.       
  438. F) Sound
  439. ~~~~~~~~~~
  440. If you wish you may switch off all sounds
  441. during  the  game.   All  the  sounds are
  442. digitised  and  played  in full stereo,so
  443. why  should  you want to switch the sound
  444. off.?
  445.  
  446.  
  447. Some other things I should mention,
  448. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  449.  
  450. No  two  games  of Tanx will be the same.
  451. Most  of the parameters I use to generate
  452. landscapes   and   object  positions  are
  453. randomized  as  much as possible.  ( This
  454. was right pain debugging the code!  )
  455.  
  456. The  tanks are randomly positioned on the
  457. landscape,  players are randomly assigned
  458. tanks  to  use.The player that goes first
  459. is   also   randomly  chosen.   So  don't
  460. complain if your mate always goes first!!
  461.  
  462. Tanks  are  limited  to  moving  on their
  463. "flat  plain"  only,they  can  not  go up
  464. mountains  or  over craters.  But you are
  465. able  to  "Tunnel" your way into a nearby
  466. mountain.    Simple  position  your  tank
  467. about  a tanks width from the mountain or
  468. hill,set  your  angle  to  -4  or  -5 and
  469. velocity  to  over 100.  The explosion of
  470. the  bullets hitting the land,will remove
  471. a  hefty  chunk of land.repeat this a few
  472. times   and   you  will  have  created  a
  473. tunnel.Drive  your  tank  in  for cover!!
  474. But your tank must be able to fire out of
  475. it!
  476.  
  477. Try     setting    the    landscape    to
  478. Foothills,wind   to   strong,gravity   to
  479. light.  Fun ain't it.?  Be careful not to
  480. shoot yourself.!!
  481.  
  482. It  is  best to start of with the default
  483. options,  no  wind,medium  gravity and no
  484. objects.   As  soon  as  you find this to
  485. easy,introduce wind and different gravity
  486. strengths.
  487.  
  488. Finally  try  switching  on the following
  489. and playing for the hardest level.
  490.  
  491. 1) All objects on
  492. 2) Random Wind strength
  493. 3) Random Wind Direction
  494. 4) Random Gravity
  495. 5) Random Landscape.
  496.    
  497.  
  498. Have fun!!!
  499.   
  500.  
  501. Technical Information.
  502. ~~~~~~~~~~~~~~~~~~~~~~~
  503.  
  504. Due  to  the nature of the system and how
  505. the  game  operates,this  game  does  not
  506. multitask.  Sorry!!!.
  507.  
  508. When you exit the game it will return the
  509. system   exactly  as  it  found  it.   To
  510. achieve the 50 frames a second,The system
  511. must be taken over.  Sorry!
  512.  
  513. The  actual  game runs in low res 320*256
  514. and  in full PAL overscan.  Screen update
  515. is at arcade speed (50 frames a second) 6
  516. bitplanes   are   used  to  produce  dual
  517. playfields.   using  the  copper over 100
  518. colours are displayed on screen.
  519.  
  520. The  options  screen and status screens
  521. are all in 32 colours.
  522.  
  523. Full stereo sound is used.  Turn up the
  524. volume and increase the bass to annoy the
  525. peeps next door!!  Over 100 k is used for
  526. digitised sound,280 k of graphic data and
  527. 20k of code.
  528.  
  529. The  game  was  written  using  an  Amiga
  530. A500,with A590 Hard drive,3 meg, 2 drives
  531. and  monitor.It  was written in Assembler
  532. using  the  brilliant  Hisoft Devpac 2.14
  533. and  took about 1 month to write.  Dpaint
  534. III  was used for graphics.  Audio Master
  535. II  was  used  to  digitise  the  sounds.
  536. Pixmate  was  also used for conversion of
  537. IFF images to RAW bitplane files.
  538.  
  539. The  game  will  run on all Amigas,that
  540. includes  A3000's and accelerated Amigas.
  541. If   the   game  does  not  run  on  your
  542. setup,please contact me and I will try to
  543. fix  the problem.  If you come across any
  544. bugs  or have some new ideas for the next
  545. release again, please contact me.
  546.  
  547. My Address.
  548. Gary Roberts
  549. 17 Tudor Close,
  550. Birchwood Drive
  551. Alderholt
  552. Near Fordingbridge
  553. HANTS
  554. SP6 3LY
  555. ENGLAND.
  556.      
  557. or phone me on UK (0425) 657155.
  558.  
  559.  
  560. This is Version 1.0 of TANX.
  561. Thank you for playing it.!
  562. Gary Roberts 1991.
  563.             
  564.  
  565.  
  566. Known Bugs.
  567. ~~~~~~~~~~~~~
  568. The  only  bug that could occur is during
  569. the generation of Object Positions on the
  570. landscape.
  571.  
  572. i.e.   You  have  1 or more of the object
  573. options switched on.
  574.  
  575. I have tried to keep the games parameters
  576. and  randomized  as  possible.This way no
  577. two games will be the same.
  578.  
  579. The   landscape  is  generated  randomly.
  580. Several  points  are  generated and these
  581. joined  together  to form the land.  When
  582. it   comes   to   generating  the  object
  583. positions,the program sits in a loop.  It
  584. generates   random   positions   for  the
  585. objects.It  then  checks  to  see  if the
  586. newly   generated  object  positions  are
  587. actually   on  land.   (  We  don't  want
  588. targets  floating  in the sky now do we.?
  589. )  If  they  are  not  on  land  then  it
  590. generates  some  more random points, this
  591. loop continues until all object positions
  592. are on the land.
  593.  
  594. Now  in  theory,the computer could sit in
  595. this   loop  for  ever,generating  random
  596. points  which  do not lie on the land.  (
  597. This  has  never  happened  during  the 2
  598. weeks of play testing ).
  599.  
  600. Because of this I have provided an "exit"
  601. function.   Whilst  the  object positions
  602. are  being generated,a message appears on
  603. screen  telling you so.  You can exit out
  604. of  this  by  holding down the left mouse
  605. button,this  will  bring  you to the Main
  606. Options   screen.    (  Don't  worry  the
  607. players scores will not be cleared )
  608.  
  609. During  the  2  weeks of play testing the
  610. longest   it  has  taken  to  generate  a
  611. landscape with all objects switched on is
  612. 11  secs.  If it takes longer that say 30
  613. secs to do so,then I suggest you exit and
  614. try again.
  615.  
  616. I  do  appologise  about this,but I think
  617. the  importance of randomizing parameters
  618. as   much   as   possible   outways   the
  619. importance of this bug.
  620.  
  621. I hope this bug does not annoy you.
  622.  
  623. Thank you.
  624.                   
  625.